package com.feib.stms.batch.service;

import java.io.Serializable;
import java.util.Date;
import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

import com.feib.stms.batch.dao.DeliveryPaymentChkSumJdbcDao;

@Service("deliveryPaymentChkSumService")
public class DeliveryPaymentChkSumService implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 4418500547963658087L;

	protected Logger logger = LoggerFactory.getLogger(this.getClass());

	@Resource(name="deliveryPaymentChkSumJdbcDao")
	private DeliveryPaymentChkSumJdbcDao deliveryPaymentChkSumJdbcDao;
	
	
	
	public List<Map<String, Object>> queryToDoChkUploadFile(Date nextBussinessDay, boolean firstTime){
				
		return this.deliveryPaymentChkSumJdbcDao.queryToDoChkUploadFile(nextBussinessDay, firstTime);
		
	}
	
	public Date getNextBusinessDay(Date day){
		
		return this.deliveryPaymentChkSumJdbcDao.getNextBusinessDay(day);
	}
	

}
